#pragma once

#include <QWebEnginePage>

class MsgWebPage : public QWebEnginePage
{
	Q_OBJECT

public:
	MsgWebPage(QObject *parent = nullptr);
	~MsgWebPage();

protected:
	virtual bool acceptNavigationRequest(const QUrl &url, NavigationType type, bool isMainFrame)override;
};
